<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<table border="1" align="left">
		<thead>
			<tr>
			    <th>绩效考勤编号号</th>
				<th>用户账号</th>
				<th>KPI指数</th>
				<th>时间备注</th>
				<th>绩效分数</th>
				<th>总出勤时间</th>
				<th>迟到时间</th>
				<th>早退时间</th>
				<th>旷工时间</th>
				<th></th>
				<th></th>
			</tr>
		</thead>
		<tbody>
		<s:hidden name="paaId" value="%{paaId}"></s:hidden>
			<s:iterator value="paaList"  >
				<tr>
				    <td><s:property value="paaId"/></td>
					<td><s:property value="users.userId" /></td>
					<td><s:property value="kpi" /></td>
					<td><s:property value="timeNote" /></td>
					<td><s:property value="performanceGrade" /></td>
					<td><s:property value="attendenceTime" /></td>
					<td><s:property value="lateTime" /></td>
					<td><s:property value="leaveearlyTime" /></td>
					<td><s:property value="absenteeismTime" /></td>
					<td><s:form action="performanceAction_showModifyPage" namespace="/">
					<%// <s:set name="userId" value="<s:property value="userId" />"></s:set><!-- 设置自动应以标签 --> %>
					      <s:hidden name="paaId" value="%{paaId}"></s:hidden>
					      <input type="submit" value="修改" />
					    </s:form>
					</td>
					<td><s:form action="performanceAction_deletePer" namespace="/">
					<%// <s:set name="userId" value="<s:property value="userId" />"></s:set><!-- 设置自动应以标签 --> %>
					      <s:hidden name="paaId" value="%{paaId}"></s:hidden>
					      <s:submit value="删除"/>
					    </s:form>
					</td>
				</tr>
			</s:iterator>
		</tbody>
	</table>
</body>
</html>